package hcn.protocol.ods.commonClinical.req.inspectionHisXML;

import com.alibaba.fastjson.annotation.JSONField;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;
@XmlRootElement(name = "MsgBody")
public class QueryInspectionExtraFeeNewReq implements Serializable {

    private InnerRequest request;

    @XmlRootElement(name = "Request")
    public static class InnerRequest {
        private String VisitOrganization;
        private Itemlists Itemlists;

        @XmlRootElement(name = "Itemlists")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Itemlists {
            private List<InspectionItemNew> Itemlist;

            public List<InspectionItemNew> getItemlist() {
                return Itemlist;
            }

            public void setItemlist(List<InspectionItemNew> itemlist) {
                Itemlist = itemlist;
            }
        }

        @JSONField(name = "VisitOrganization")
        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        @XmlElement(name = "Itemlists")
        public Itemlists getItemlists() {
            return Itemlists;
        }

        public void setItemlists(Itemlists itemlists) {
            Itemlists = itemlists;
        }
    }


    @XmlElement(name = "Request")
    public InnerRequest getRequest() {
        return request;
    }

    public void setRequest(InnerRequest request) {
        this.request = request;
    }
}
